package com.ai.bitcoin.contrab.handler;

import com.ai.bitcoin.init.SpringContext;
import com.ai.bitcoin.service.UserService;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

public class UserEncourageRecordHandle implements Job {
    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        UserService userService = (UserService) SpringContext.getBean("userService");
        userService.deletePlcEncourageRecord();
    }
}
